<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>v_sditx: xv_sditx_intr.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">v_sditx
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xv__sditx__intr_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xv_sditx_intr.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains interrupt related functions for Xilinx SDI TX core. </p>
<p>Please see <a class="el" href="xv__sditx_8h.html">xv_sditx.h</a> for more details of the driver.</p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who    Date     Changes
</p>
<hr/>
<p>
1.0   jsr    07/17/17 Initial release.
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a30aed08a4cb662a5dfff259fb1d19cac"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__sditx__intr_8c.html#a30aed08a4cb662a5dfff259fb1d19cac">XV_SdiTx_GetIntrEnable</a> (<a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:a30aed08a4cb662a5dfff259fb1d19cac"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will get the interrupt mask set (enabled) in the SDI Tx core.  <a href="#a30aed08a4cb662a5dfff259fb1d19cac">More...</a><br/></td></tr>
<tr class="separator:a30aed08a4cb662a5dfff259fb1d19cac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aa49027fc7d150a24c4745163a68459"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__sditx__intr_8c.html#a8aa49027fc7d150a24c4745163a68459">XV_SdiTx_GetIntrStatus</a> (<a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *InstancePtr)</td></tr>
<tr class="memdesc:a8aa49027fc7d150a24c4745163a68459"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will get the list of interrupts pending in the Interrupt Status Register of the SDI Tx core.  <a href="#a8aa49027fc7d150a24c4745163a68459">More...</a><br/></td></tr>
<tr class="separator:a8aa49027fc7d150a24c4745163a68459"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d6e97e9d2156a5f642e79a61e7d739f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__sditx__intr_8c.html#a1d6e97e9d2156a5f642e79a61e7d739f">XV_SdiTx_InterruptClear</a> (<a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:a1d6e97e9d2156a5f642e79a61e7d739f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will clear the interrupts set in the Interrupt Status Register of the SDI Tx core.  <a href="#a1d6e97e9d2156a5f642e79a61e7d739f">More...</a><br/></td></tr>
<tr class="separator:a1d6e97e9d2156a5f642e79a61e7d739f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d14ab6a4bf9dfcdc623126a17ba5275"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__sditx__intr_8c.html#a4d14ab6a4bf9dfcdc623126a17ba5275">XV_SdiTx_IntrHandler</a> (void *InstancePtr)</td></tr>
<tr class="memdesc:a4d14ab6a4bf9dfcdc623126a17ba5275"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the interrupt handler for the SDI TX driver.  <a href="#a4d14ab6a4bf9dfcdc623126a17ba5275">More...</a><br/></td></tr>
<tr class="separator:a4d14ab6a4bf9dfcdc623126a17ba5275"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa63fd99ec8bbdc967c397e4cee31fc64"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__sditx__intr_8c.html#aa63fd99ec8bbdc967c397e4cee31fc64">XV_SdiTx_SetCallback</a> (<a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *InstancePtr, u32 HandlerType, void *CallbackFunc, void *CallbackRef)</td></tr>
<tr class="memdesc:aa63fd99ec8bbdc967c397e4cee31fc64"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function installs an asynchronous callback function for the given HandlerType:  <a href="#aa63fd99ec8bbdc967c397e4cee31fc64">More...</a><br/></td></tr>
<tr class="separator:aa63fd99ec8bbdc967c397e4cee31fc64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa86b7cdd889edbe4395625a997b170ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__sditx__intr_8c.html#aa86b7cdd889edbe4395625a997b170ad">XV_SdiTx_IntrEnable</a> (<a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:aa86b7cdd889edbe4395625a997b170ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the selected interrupt.  <a href="#aa86b7cdd889edbe4395625a997b170ad">More...</a><br/></td></tr>
<tr class="separator:aa86b7cdd889edbe4395625a997b170ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a6f57a2f45767bc0c0954adfe52c594"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xv__sditx__intr_8c.html#a3a6f57a2f45767bc0c0954adfe52c594">XV_SdiTx_IntrDisable</a> (<a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:a3a6f57a2f45767bc0c0954adfe52c594"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables the selected interrupt.  <a href="#a3a6f57a2f45767bc0c0954adfe52c594">More...</a><br/></td></tr>
<tr class="separator:a3a6f57a2f45767bc0c0954adfe52c594"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a30aed08a4cb662a5dfff259fb1d19cac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XV_SdiTx_GetIntrEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will get the interrupt mask set (enabled) in the SDI Tx core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_v___sdi_tx.html" title="The XV_SdiTx driver instance data. ">XV_SdiTx</a> instance to operate on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Interrupt Mask with bits set for corresponding interrupt in Interrupt enable register</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>References <a class="el" href="struct_x_v___sdi_tx___config.html#a55bc404bba9a241e65bc618992c289a3">XV_SdiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___sdi_tx.html#a3fe081b6dd8372f1128ccda2c2a1d825">XV_SdiTx::Config</a>, and <a class="el" href="xv__sditx__hw_8h.html#a473ff53a4f74d89a57e04a65c72416af">XV_SdiTx_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="a8aa49027fc7d150a24c4745163a68459"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XV_SdiTx_GetIntrStatus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will get the list of interrupts pending in the Interrupt Status Register of the SDI Tx core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_v___sdi_tx.html" title="The XV_SdiTx driver instance data. ">XV_SdiTx</a> instance to operate on</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Interrupt Mask with bits set for corresponding interrupt in Interrupt Status register</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>References <a class="el" href="struct_x_v___sdi_tx___config.html#a55bc404bba9a241e65bc618992c289a3">XV_SdiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___sdi_tx.html#a3fe081b6dd8372f1128ccda2c2a1d825">XV_SdiTx::Config</a>, and <a class="el" href="xv__sditx__hw_8h.html#a473ff53a4f74d89a57e04a65c72416af">XV_SdiTx_ReadReg</a>.</p>

<p>Referenced by <a class="el" href="xv__sditx__intr_8c.html#a4d14ab6a4bf9dfcdc623126a17ba5275">XV_SdiTx_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a1d6e97e9d2156a5f642e79a61e7d739f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_SdiTx_InterruptClear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will clear the interrupts set in the Interrupt Status Register of the SDI Tx core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is the <a class="el" href="struct_x_v___sdi_tx.html" title="The XV_SdiTx driver instance data. ">XV_SdiTx</a> instance to operate on </td></tr>
    <tr><td class="paramname">Mask</td><td>is Interrupt Mask with bits set for corresponding interrupt to be cleared in the Interrupt Status register</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None </dd></dl>

<p>References <a class="el" href="struct_x_v___sdi_tx___config.html#a55bc404bba9a241e65bc618992c289a3">XV_SdiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___sdi_tx.html#a3fe081b6dd8372f1128ccda2c2a1d825">XV_SdiTx::Config</a>, <a class="el" href="xv__sditx__hw_8h.html#a473ff53a4f74d89a57e04a65c72416af">XV_SdiTx_ReadReg</a>, and <a class="el" href="xv__sditx__hw_8h.html#a97b4db43e94f9ed2d5ef407db6607d59">XV_SdiTx_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xv__sditx__intr_8c.html#a4d14ab6a4bf9dfcdc623126a17ba5275">XV_SdiTx_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a3a6f57a2f45767bc0c0954adfe52c594"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_SdiTx_IntrDisable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function disables the selected interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___sdi_tx.html" title="The XV_SdiTx driver instance data. ">XV_SdiTx</a> core instance. </td></tr>
    <tr><td class="paramname">Mask</td><td>to be disabled.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_v___sdi_tx___config.html#a55bc404bba9a241e65bc618992c289a3">XV_SdiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___sdi_tx.html#a3fe081b6dd8372f1128ccda2c2a1d825">XV_SdiTx::Config</a>, and <a class="el" href="xv__sditx__hw_8h.html#a97b4db43e94f9ed2d5ef407db6607d59">XV_SdiTx_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="aa86b7cdd889edbe4395625a997b170ad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_SdiTx_IntrEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables the selected interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___sdi_tx.html" title="The XV_SdiTx driver instance data. ">XV_SdiTx</a> core instance. </td></tr>
    <tr><td class="paramname">Mask</td><td>to be enabled.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_v___sdi_tx___config.html#a55bc404bba9a241e65bc618992c289a3">XV_SdiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___sdi_tx.html#a3fe081b6dd8372f1128ccda2c2a1d825">XV_SdiTx::Config</a>, <a class="el" href="xv__sditx__hw_8h.html#a473ff53a4f74d89a57e04a65c72416af">XV_SdiTx_ReadReg</a>, and <a class="el" href="xv__sditx__hw_8h.html#a97b4db43e94f9ed2d5ef407db6607d59">XV_SdiTx_WriteReg</a>.</p>

</div>
</div>
<a class="anchor" id="a4d14ab6a4bf9dfcdc623126a17ba5275"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XV_SdiTx_IntrHandler </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the interrupt handler for the SDI TX driver. </p>
<p>This handler reads the pending interrupt for GT reset done interrupt from Tx IP, determines the source of the interrupts, clears the interrupts and calls callbacks accordingly.</p>
<p>The application is responsible for connecting this function to the interrupt system. Application beyond this driver is also responsible for providing callbacks to handle interrupts and installing the callbacks using <a class="el" href="xv__sditx_8h.html#aa63fd99ec8bbdc967c397e4cee31fc64" title="This function installs an asynchronous callback function for the given HandlerType: ...">XV_SdiTx_SetCallback()</a> during initialization phase. An example delivered with this driver demonstrates how this could be done.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_v___sdi_tx.html" title="The XV_SdiTx driver instance data. ">XV_SdiTx</a> instance that just interrupted.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_v___sdi_tx___config.html#a55bc404bba9a241e65bc618992c289a3">XV_SdiTx_Config::BaseAddress</a>, <a class="el" href="struct_x_v___sdi_tx.html#a3fe081b6dd8372f1128ccda2c2a1d825">XV_SdiTx::Config</a>, <a class="el" href="struct_x_v___sdi_tx.html#a2a0526f675950b59123a845abe25a463">XV_SdiTx::IsReady</a>, <a class="el" href="xv__sditx_8h.html#a8aa49027fc7d150a24c4745163a68459">XV_SdiTx_GetIntrStatus()</a>, <a class="el" href="xv__sditx_8h.html#a1d6e97e9d2156a5f642e79a61e7d739f">XV_SdiTx_InterruptClear()</a>, and <a class="el" href="xv__sditx__hw_8h.html#a473ff53a4f74d89a57e04a65c72416af">XV_SdiTx_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="aa63fd99ec8bbdc967c397e4cee31fc64"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XV_SdiTx_SetCallback </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_v___sdi_tx.html">XV_SdiTx</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>HandlerType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackFunc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function installs an asynchronous callback function for the given HandlerType: </p>
<pre>
HandlerType                       Callback Function Type
-------------------------         -------------------------------------------
(XV_SDITX_HANDLER_GTRESET_DONE) GtRstDoneCallback
(XV_SDITX_HANDLER_OVERFLOW)             OverFlowCallback
(XV_SDITX_HANDLER_UNDERFLOW)            UnderFlowCallback
</pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the SDI TX core instance. </td></tr>
    <tr><td class="paramname">HandlerType</td><td>specifies the type of handler. </td></tr>
    <tr><td class="paramname">CallbackFunc</td><td>is the address of the callback function. </td></tr>
    <tr><td class="paramname">CallbackRef</td><td>is a user data item that will be passed to the callback function when it is invoked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if callback function installed successfully.</li>
<li>XST_INVALID_PARAM when HandlerType is invalid.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Invoking this function for a handler that already has been installed replaces it with the new handler. </dd></dl>

<p>References <a class="el" href="struct_x_v___sdi_tx.html#aed8cfe1133b6634062a812d071a0aa22">XV_SdiTx::Axi4sVidLockCallback</a>, <a class="el" href="struct_x_v___sdi_tx.html#abf36537078035e585923379c2418ab3b">XV_SdiTx::Axi4sVidLockRef</a>, <a class="el" href="struct_x_v___sdi_tx.html#a64fdd35bfea31fc793c9d29224772cdd">XV_SdiTx::CeAlignErrCallback</a>, <a class="el" href="struct_x_v___sdi_tx.html#af36c4e02ba3fe1d781a8d778fb22c733">XV_SdiTx::CeAlignErrRef</a>, <a class="el" href="struct_x_v___sdi_tx.html#a590e5c17de403e9912db56b428feb17d">XV_SdiTx::GtRstDoneCallback</a>, <a class="el" href="struct_x_v___sdi_tx.html#ad271cff3133b9ccd529a14df85d522aa">XV_SdiTx::GtRstDoneRef</a>, <a class="el" href="struct_x_v___sdi_tx.html#abab1a9b8e47fd452546adbeac599d45c">XV_SdiTx::OverFlowCallback</a>, <a class="el" href="struct_x_v___sdi_tx.html#a391634fc9063a826840c4b0494bfdc83">XV_SdiTx::OverFlowRef</a>, <a class="el" href="struct_x_v___sdi_tx.html#ae15d664d61e36b21325582cd83e78083">XV_SdiTx::UnderFlowCallback</a>, and <a class="el" href="struct_x_v___sdi_tx.html#aa17adeda8a06c4dea3c6d1013a8e61a8">XV_SdiTx::UnderFlowRef</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
